package com.jie.boot.domain;

import java.io.Serializable;

import javax.persistence.EmbeddedId;
import javax.persistence.Entity;

@Entity
public class Student implements Serializable {
	private static final long serialVersionUID = 1L;
	@EmbeddedId
	private StudentPk id;
	private String name;
	private String clazz;

	public StudentPk getId() {
		return id;
	}

	public void setId(StudentPk id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getClazz() {
		return clazz;
	}

	public void setClazz(String clazz) {
		this.clazz = clazz;
	}

}
